package com.wteam.service;

import com.wteam.PoJo.DTO.buygood;
import com.wteam.PoJo.DTO.listorder;
import com.wteam.PoJo.VO.*;
import com.wteam.untils.Result;

public interface OrderService {

    Result<orderid> buyorder(buyorder buyorder);

    Result selectorder(Integer orderStatus);

    Result putmoney(Integer id, Long orderId);

    Result selectAddress(Integer id);

    Result updateAddress(fixregion fixregion);

    Result  selectbuygoods(freight freight);

    Result salestatus(Integer id);

    Result<String> deleteorder(Integer id);

    Result refundgoods(refundgoods refundgoods);

    Result<orderid> saveonegoods(buygood buygood) ;

    Result<listorder> orderdetial(Integer orderid);
}
